/**
 * @author [siwi]
 * @email [siwi@siwi.me]
 * @create date 2017-09-23 11:44:15
 * @modify date 2017-09-23 11:44:15
 * @desc [角色表]
*/


const { mongoose, Schame } = require('../Mongoose')

const Table = new Schame({
    node_name: {
        type: String,
        required: true,
        index: true
    },
    node_ip: {
        type: String,
        required: true,
        index: true
    },
    remark: {
        type: String,
        default: ''
    }
})

const Node = mongoose.model('Node', Table)
module.exports = Node